package com.xiaoyun.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 统一错误信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ErrorInfo<T> {
    public static final Integer ERROR = -1;

    private Integer code;
    private String message;

    private String url;
    private T date;
}
